package com.dsl.tms.model;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

public class MessageModel {

    public static List getMessageList(List<Object[]> messageList){
        List list = new ArrayList();
        for (Object[] message_org : messageList){
            HashMap message = new HashMap();
            message.put("title",message_org[0]);
            message.put("create_time",message_org[1]);
            message.put("msg_id",message_org[2]) ;
            list.add(message);
        }
        return list;
    }
}
